import React, { Component } from 'react';
import './CanvasNest.less';
// 因为源文件就很小我就从github上下载到项目用吧 有问题好debugger
// import ReactCanvasNest from 'react-canvas-nest';
import { ReactCanvasNest } from './ReactCanvasNest';

const ReactCanvasNestConfig = {
	// count: 88,
	// pointR: 3,
	// pointColor: '255, 0, 114',
	// pointOpacity: 0.5,
	// lineColor: '0, 0, 114',
	// lineWidth: 3,
	// dist: 10,
	// mouseDist: 30000
}

export class CanvasNest extends Component {
	render() {
		return (
			<div className='canvasNestBox'>
				<ReactCanvasNest
					className='canvasNest'
					config={ReactCanvasNestConfig}
				/>
			</div>
		)
	}
}

export default CanvasNest;